package com.ganmiao.resp;

/**
 * @Author zero.yin
 * @Date 2022/7/22 3:22 PM
 * @Desc
 */
public class CommonResultRes<T> extends MobBaseRes {
    private static final long serialVersionUID = 1L;
    protected T result;

    public CommonResultRes() {
        this.setCode(ResponseCode.SUCCESS.getCode());
        this.setDesc(ResponseCode.SUCCESS.getDesc());
    }


    public CommonResultRes(T result) {
        this.result = result;
    }

    public T getResult() {
        return this.result;
    }

    public void setResult(T result) {
        this.result = result;
    }
}
